public class TestJava1003 {
        public static void main(String[] args) {
            Java1003 a = new Java1003(1);
            a.creatList();
            a.show();

            System.out.println(a.size());

            System.out.println(a.contain(12));

            a.addFirst(188);
            a.show();
            a.addLast(198);
            a.show();

//            System.out.println(a.searchIndex(3));

        }

    }

